<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <script src="__STATIC__/js/base.js"></script>
    <title>选择支付方式</title>
    <link rel="stylesheet" href="__STATIC__/css/base.css">
    <link rel="stylesheet" href="__STATIC__/css/userinfo.css">
    <script src="__STATIC__/js/jquery-1.11.1.min.js"></script>

</head>
<body>
<section class="wrap">
    <div></div>
    <div id="login-form">
        <div class="select-pay-type">
            <!--<div class="pay-type" id="weixin">-->
                <!--<ul class="clearfix">-->
                    <!--<li class="pull-left"><img src="__STATIC__/images/wxin.png"></li>-->
                    <!--<li class="pull-left">微信支付</li>-->
                <!--</ul>-->
            <!--</div>-->
            <div class="pay-type" id="ali">
                <ul class="clearfix">
                    <li class="pull-left"><img src="__STATIC__/images/ali.png"></li>
                    <li class="pull-left">支付宝支付</li>
                </ul>
            </div>
            <!--<div class="pay-type" id="yinlian">-->
                <!--<ul class="clearfix">-->
                    <!--<li class="pull-left" style="height: 1.06666667rem"><img src="__STATIC__/images/ylian.png" style="margin-top: 0.27264rem; "></li>-->
                    <!--<li class="pull-left">银联支付</li>-->
                <!--</ul>-->
            <!--</div>-->
            <div class="pay-type" style="border-bottom: 0" id="yue">
                <ul class="clearfix">
                    <li class="pull-left"><img src="__STATIC__/images/pay-yue.png"></li>
                    <li class="pull-left">余额支付 （ 可用余额{$account}元 ）</li>
                </ul>
            </div>
        </div>
    </div>

    <script>
        $(function(){
            $('.pay-type').on('click',function(){
                if($(this).attr('id')=='ali'){
                    var serviceOrderId=getUrlParam('serviceOrderId')
                    window.location.href="orderalert2?orderId={$order.serviceOrderId}&memberId={$order.memberId}&price={$order.payAmount}";
                }
            });
        });
    </script>
</section>
</body>
</html>